package com.xyy.saas.payment.adpater.pingxx.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author wangtianqi
 * @date 2019/10/23 9:33
 */
public class RoyaltyDO implements Serializable {

    private static final long serialVersionUID = -4437585498227651692L;

    /**
     * 分润结算对象 ID
     */
    private String id;


    /**
     * 结算的总金额。
     */
    private Integer amount;

    /**
     * 结算成功的分润金额。
     */
    private Integer amountSucceeded;

    /**
     * 结算失败的分润金额。
     */
    private Integer amountFailed;

    /**
     * 结算取消的分润金额。
     */
    private Integer amountCanceled;

    /**
     * 结算的总笔数。
     */
    private Integer count;

    /**
     * 结算成功的笔数。
     */
    private Integer countSucceeded;

    /**
     * 结算失败的笔数。
     */
    private Integer countFailed;

    /**
     * 取消的笔数。
     */
    private Integer countCanceled;

    /**
     * 完成时间，date
     */
    private Date finishedTime;

    /**
     * 渠道收取的手续费，单位为分。
     */
    private Integer fee;

    /**
     * 分润结算状态。值为 created：已创建、pending：处理中、succeeded：全部完成、failed：全部失败、partially_succeeded：部分成功、canceled：全部取消。
     */
    private String status;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getAmountSucceeded() {
        return amountSucceeded;
    }

    public void setAmountSucceeded(Integer amountSucceeded) {
        this.amountSucceeded = amountSucceeded;
    }

    public Integer getAmountFailed() {
        return amountFailed;
    }

    public void setAmountFailed(Integer amountFailed) {
        this.amountFailed = amountFailed;
    }

    public Integer getAmountCanceled() {
        return amountCanceled;
    }

    public void setAmountCanceled(Integer amountCanceled) {
        this.amountCanceled = amountCanceled;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getCountSucceeded() {
        return countSucceeded;
    }

    public void setCountSucceeded(Integer countSucceeded) {
        this.countSucceeded = countSucceeded;
    }

    public Integer getCountFailed() {
        return countFailed;
    }

    public void setCountFailed(Integer countFailed) {
        this.countFailed = countFailed;
    }

    public Integer getCountCanceled() {
        return countCanceled;
    }

    public void setCountCanceled(Integer countCanceled) {
        this.countCanceled = countCanceled;
    }

    public Date getFinishedTime() {
        return finishedTime;
    }

    public void setFinishedTime(Date finishedTime) {
        this.finishedTime = finishedTime;
    }

    public Integer getFee() {
        return fee;
    }

    public void setFee(Integer fee) {
        this.fee = fee;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
